/**
 *
 */
package org.suren.littlebird.actions.logger;

/**
 * @author suren
 * @since 2015-2-3
 */
public interface SuRenLoggerController
{
	public static final int LEVEL_ALL = 0x0;
	public static final int LEVEL_TRACE = 0x1;
	public static final int LEVEL_DEBUG = 0x2;
	public static final int LEVEL_INFO = 0x3;
	public static final int LEVEL_WARN = 0x4;
	public static final int LEVEL_ERROR = 0x5;
	public static final int LEVEL_OFF = 0x6;

	public static final int BRIDGE_ADD = 0x7;
	public static final int BRIDGE_DEL = 0x8;
	public static final int BRIDGE_CLEAR = 0x9;

	public int control(int action, String ...names);

	/**
	 * 增加、删除bridge接口
	 * @param action
	 * @param name
	 * @param host
	 * @param port
	 * @return
	 */
	public int bridge(int action, String name, String host, int port);
}
